@use "styles/Radius.module.scss";
@use "styles/ScreenSizes.module.scss";
@use "styles/Spacings.module.scss";
@use "styles/Typography.module.scss";
@use "styles/Variables.module.scss";

.page_header_wrapper {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: Spacings.$spacing04;
  padding-inline: Spacings.$spacing09;
  border-bottom: 1px solid var(--border-1);
  height: Variables.$pageHeaderHeight;
  width: 100%;

  .left {
    @include Typography.H2;
    display: flex;
    align-items: center;
    gap: Spacings.$spacing03;
    visibility: visible;

    &.menu_closed {
      visibility: visible;
      padding-left: Spacings.$spacing07;
    }

    .brain_snippet {
      width: 24px;
      height: 24px;
      border-radius: Radius.$normal;
      display: flex;
      justify-content: center;
      align-items: center;
      font-size: Typography.$tiny;
    }
  }

  .buttons_wrapper {
    display: flex;
    gap: Spacings.$spacing04;
    align-items: center;
    justify-content: flex-end;
  }

  @media (max-width: ScreenSizes.$small) {
    justify-content: flex-end;
    .left {
      display: none;
    }
  }
}

.help_button {
  display: flex;
  padding: Spacings.$spacing02;
  position: absolute;
  top: calc(Spacings.$spacing03 + Spacings.$spacing01);
  right: Spacings.$spacing03;
  border-radius: Radius.$circle;
  cursor: pointer;
  background-color: var(--background-2);

  &:hover {
    background-color: var(--background-3);
  }
}
